<?php if(!defined('IN_PISCES')){exit('Access Denied.');}?>
<script language="javascript" src="{$this->data['baseurl']}js/jquery/jquery.js"></script>
<script language="javascript" src="{$this->data['baseurl']}js/jquery/form.js"></script>
<script language="javascript" src="{$this->data['baseurl']}js/utils.js"></script>
<script type="text/javascript">
var successFun=function(res){
if(res.code==200){
	document.location	= res.data.forward;
}else{
	alert('出错了，请重新尝试！');
}
}
$(document).ready(function() { 
	var updateOptions	= {dataType:'json',error:doError,success:doSuccess}
    $('#form').ajaxForm(updateOptions); 
}); 
</script>

<div class="login_main">
  <link href="{$this->data['baseurl']}css/tzm/member.css" rev="stylesheet" rel="stylesheet" type="text/css" media="screen">
  <div id="header" class="hd">
    <div class="mod-logo">
      <p class="title"> <a></a> <span class="sub-title">登录</span> </p>
      <p class="additional"> <span> 如需帮助，请咨询{if $this->data['site']['qq']!=''}<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$this->data['site']['qq']}&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$this->data['site']['qq']}:42" alt="点击这里给我发消息" title="点击这里给我发消息"></a>&nbsp;&nbsp;{/if}</span> </p>
    </div>
  </div>
  <div class="main">
    <div class="main952_box martop20">
      <div class="loginleft"> <img src="{$this->data['baseurl']}images/login_bg.jpg" alt="会员注册"> </div>
      <div class="loginright">
        <div class="signindiv freeregpad nobg">
          <div class="div1"> {$this->data['site']['site_name']}会员注册</div>
          <form id="form" action="{url('User','SaveSetup')}" method="post">
            <div class="loginbox">
              <p> <em>帐号</em>
                <input class="inputwd1" type="text" name="username" size="15" maxlength="50"  tabindex="1">
                </p>
              <p align="center"><span etype='error_info' class="error_info" id="username_info"></span></p>
              <p> <em>Email</em>
                <input class="inputwd1 " name="email" value="" maxlength="20" tabindex="2">
                 </p>
              <p align="center"><span etype='error_info' class="error_info" id="email_info"></span></p>
              <p> <em>密码</em>
                <input id="txtPassword" class="inputwd1 " type="password" name="password" value="" maxlength="20" tabindex="2">
              </p>
              <p align="center"><span etype='error_info' class="error_info" id="password_info"></span></p>
              <p> <em>确认密码</em>
                <input id="txtPassword" class="inputwd1 " type="password" name="confirm" value=""  maxlength="20" tabindex="2">
              </p>
              <p align="center"><span etype='error_info' class="error_info" id="confirm_info"></span></p>
              <p>
                <input type="submit" tabindex="3" class="signinbutton" value="确定注册">
                <a class="freeregister" onclick="document.location='{url('User','Login')}'" href="#">帐号登录</a> </p>
            </div>
          </form>
        </div>
        <p class="mod-tb-signin"> <em>您还可以</em> <a href="#" onclick="document.location='{$this->data['taobaoLoginUrl']}'"  target="_self" style="color:#F30;font-size:16px;font-weight:bold">直接用淘宝帐号登录</a> </p>
        <div class="footer-line"></div>
      </div>
    </div>
    <div class="top25_box"></div>
  </div>
</div>
